package cn.sfa.common.quartzJob;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate;

import cn.sfa.service.login.LoginService;
/**
 * 
* 类名称：QuartzJob   
* 类描述：quartz定时任务
* 创建人：lenovo   
* 创建时间：2012-2-14 下午9:40:42     
* 修改备注：   
* @version v1.0
 */
public class QuartzJob {
	
	Logger log = LoggerFactory.getLogger(QuartzJob.class);
	
	NamedParameterJdbcTemplate  jdbcTemplate;
	
	public NamedParameterJdbcTemplate getJdbcTemplate() {
		return jdbcTemplate;
	}

	public void setJdbcTemplate(NamedParameterJdbcTemplate jdbcTemplate) {
		this.jdbcTemplate = jdbcTemplate;
	}

//	@Autowired
//	LoginService loginService;

	public void sendMessage(){
		
		log.info("sendMessageMethod");
//		UserDaoImpl  userDaoImpl=new UserDaoImpl();
//		UserDao userDao= userDaoImpl.connAD();	
//		int countAd=userDao.getAllUsers().size();//ad里用户总数
//		int countUser=loginService.getUsersCount();//saleUserslogin表用户总数
//		int countAgentBroker=loginService.getAgentBrokerCount();//agentbroker表用户总数
		
	}
}
